package xyz.jangle.date;

import java.time.LocalDate;

public class DateM {

	public static void main(String[] args) {
        LocalDate today = LocalDate.now(); // 获取当前日期
        LocalDate threeMonthsAgo = today.minusMonths(3); // 当前日期减去三个月
        System.out.println("三个月前的日期是: " + threeMonthsAgo);

	}

}
